package at.fhj.itm10.ticketmaster.services;

import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;

import javax.faces.event.ValueChangeEvent;

import at.fhj.itm10.ticketmaster.dao.DAOException;
import at.fhj.itm10.ticketmaster.entities.Address;
import at.fhj.itm10.ticketmaster.entities.Order;

/**
 * Address service.
 * 
 * @author Reinhard Rebernig, Wolgang Schrattner, Martin Kropf, Gabi Grüner
 * @since Jänner 2013
 */
public interface CartService {
	
	Boolean addToCard(String id);
	
	void addTicketPrice(double singlePrice, int quantity);
	
	Boolean getticketamountisFaild();
	
	String getTotalPrice();
	
	String removeFromCart(String id);
	
	void emptyCart();
	
	void saveOrder(Long cust_id);
	
	int getTotalTicketCount();
	
	void setTotalTicketCount(int totalTicketCount);
	
	String getTicketQuantity();
	
	void setTicketQuantity(String ticketQuantity);
	 	
	List<Entry<String, Integer>> getTicketsList();
	
	HashMap<String, Integer> showTickets();
	
	Map<String, Object> getQuantities();
}